import axios from 'axios';
import { loginreq, req } from './axiosFun';
/**
 * 仓库管理
 **/
// 仓库管理-获取仓库列表
export const cangkuxinxiList = (params) => { return req("post", "/api/cangkuxinxi/list/page", params) };

// 仓库管理-保存
export const cangkuxinxiSave = (params) => { return req("post", "/api/cangkuxinxi/save", params) };
// 仓库管理-编辑
export const cangkuxinxiEdit = (params) => { return req("post", "/api/cangkuxinxi/edit", params) };

// 仓库管理-删除仓库
export const cangkuxinxiDelete = (params) => { return axios.delete("/api/cangkuxinxi/del/" + params).then(res => res.data) };
// 仓库管理-修改状态
export const cangkuxinxiStatus = (params) => { return req("post", "/api/cangkuxinxi/edit", params) };
// 仓库管理-批量删除
export const cangkuxinxiBatchDel = (params) => { return req("post", "/api/cangkuxinxi/del/batch", params) };
